using System;

namespace Webshop20.Application.Queries.Messages
{
    public class GetCartRequest : MessageBase
    {
        private DateTime date;
        private readonly Guid? visitorInterimKey;
        private readonly int? visitorId;

        public GetCartRequest(Guid? visitorInterimKey, int? visitorId, DateTime date)
        {
            this.visitorInterimKey = visitorInterimKey;
            this.date = date;
            this.visitorId = visitorId;
        }

        public DateTime Date
        {
            get { return date; }
        }

        public int? VisitorId
        {
            get { return visitorId; }
        }

        public Guid? VisitorInterimKey
        {
            get { return visitorInterimKey; }
        }
    }
}